package StudyCode.summary.Basic.myint;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class IntByInteger {
	public static Integer add(Integer integer, Integer integer1) {
		int value = integer.intValue();
		int value1 = integer1.intValue();
		return Integer.valueOf(value + value1);
	}

	public static void main(String[] args) {
		int value1 = 6;
		int value2 = 8;
		int result;
		Integer k = add(Integer.valueOf(value1), Integer.valueOf(value2));
		result = k.intValue();
		System.out.println(value1 + " + " + value2 + " = " + result);
	}
}
